﻿using System.ComponentModel.DataAnnotations;

namespace C556Backside.Models;

public class VAandVRelationshipsModel
{
    public VAandVRelationshipsModel()
    {
        RelationID = Guid.NewGuid().ToString();
    }
    [Key]
    public string RelationID { get; set; }
    public string VoluntaryID { get; set; }
    public DateTime JoinTime { get; set; }
    public string ActivityID { get; set; }
    public virtual VoluntaryModel VoluntaryModel { get; set; } = null!;
    public virtual VoluntaryActivityModel VoluntaryActivityModel { get; set; } = null!;
    public virtual ICollection<ActivityReviewModel> ActivityReviews { get; set; } = new List<ActivityReviewModel>();
}
